<extend name="Public/base" />

<block name="body">
	<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title cf">
        <h2>新增</h2>
    </div>

    <form id="form" action="__SELF__" method="post" class="form-horizontal" enctype="multipart/form-data">

        <div class="form-item cf">
            <label class="item-label">
                标题
            </label>
            <div class="controls">
                <input type="text" class="text input-large" name="title" value="" />
            </div
        </div>

        <div class="form-item cf">
            <label class="item-label">
                封面
            </label>
            <div class="controls">
								<input name="image" type="file" id="image">
            </div>
        </div>

        <div class="form-item cf">
            <label class="item-label">
                正文
            </label>
            <div class="controls">
                <label class="textarea">
                    <textarea name="remark"></textarea>
                    {:hook('adminArticleEdit', array('name'=> 'remark','value'=> ''))}
                </label>

            </div>
        </div>

        <div class="form-item cf">
            <button class="btn submit-btn hidden" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <a class="btn btn-return" href="javascript:;">返 回</a>
        </div>
    </form>
</block>
